package designPattern.builder建造者模式.demo01;

// 具体的建造者
public class ConcreteBuilder1 extends Builder {

    @Override
    void buildA() {
        product.setA("A");
        System.out.println("ConcreteBuilder1 build A");
    }

    @Override
    void buildB() {
        product.setB("B");
        System.out.println("ConcreteBuilder1 build B");
    }

    @Override
    void buildC() {
        product.setC("C");
        System.out.println("ConcreteBuilder1 build C");
    }
}
